package cn.pli.bike.bean;

import java.io.Serializable;

/**
 * Created by shangdongzhou on 2017/11/18.
 */

public class UserBean implements Serializable{


    /**
     * id : 4028813c5f544553015f54460e830001
     * mobile : 18833466274
     * deposit : 450.0
     * credits : 1111
     * nickName : 1231
     * photo : null
     * authStatus : 1               //
     * canRide : 1
     * availableAmount : 1111.0
     * lastLoginTime : 1509421904198
     * lastLoginIp : 127.0.0.1
     * registerTime : 1508947200000
     * token : f3cc565bd45dda812f0b85dea3f23013
     */
    public static final int HAS_AUTH = 0;
    public static final int  NO_AUTH = 1;

    private String id;              //
    private String mobile;
    private double deposit;         //押金
    private int credits;            //信用积分
    private String nickName;        //昵称
    private String photo;           //用户头像
    private int authStatus;         //实名认证状态     1 已认证 0，未认证
    private int canRide;            //
    private double availableAmount; //可用余额
    private long lastLoginTime;
    private String lastLoginIp;
    private long registerTime;
    private String token;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public double getDeposit() {
        return deposit;
    }

    public void setDeposit(double deposit) {
        this.deposit = deposit;
    }

    public int getCredits() {
        return credits;
    }

    public void setCredits(int credits) {
        this.credits = credits;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getAuthStatus() {
        return authStatus;
    }

    public void setAuthStatus(int authStatus) {
        this.authStatus = authStatus;
    }

    public int getCanRide() {
        return canRide;
    }

    public void setCanRide(int canRide) {
        this.canRide = canRide;
    }

    public double getAvailableAmount() {
        return availableAmount;
    }

    public void setAvailableAmount(double availableAmount) {
        this.availableAmount = availableAmount;
    }

    public long getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(long lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    public long getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(long registerTime) {
        this.registerTime = registerTime;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
